package org.github.choviwu.example.common.util;

import lombok.extern.slf4j.Slf4j;
import org.junit.Test;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by ChoviWu on 2018/05/06
 * Description:
 */
@Slf4j
public class ScoreUtil {

    public static final String URL = "http://112.124.54.19/Score/score.html";

    public static final String IMAGE = "http://112.124.54.19/Score/score/getVerCode.action?identity=3C96A9941A2614F4784B906E1501DF06&schoolIdentity=2EE917122A021BF6308BA220CC3C495A&st="+new Date().getTime();


//    public static String Login(String number,String password,String code){
//        Map map = new HashMap();
//        map.put("schoolIdentity","2EE917122A021BF6308BA220CC3C495A");
//        map.put("txt_asmcdefsddsd","1443041003");
//        map.put("txt_pewerwedsdfsdff","2017");
//        map.put("wuchaowei","2");
//        map.put("s_n","1443041003");
//        map.put("p_d","wuchaowei");
//        map.put("c_k","");
////        map.put("v_c",parseCode(IMAGE));
//        map.put("v_c",code);
//        map.put("identity","3C96A9941A2614F4784B906E1501DF06");
//        String json = HttpUtil.sendHttpPost(URL,map);
//        log.info(json);
//        return json;
//    }
}
